Rambutan seed waste-derived nitrogen-doped carbon dots with l-aspartic acid for the sensing of Congo red dye

In this study, new nitrogen-doped carbon dots (N-CDs) were prepared by utilizing rambutan seed waste and l-aspartic acid as dual precursors (carbon and nitrogen sources) through a hydrothermal treatment method. The N-CDs showed blue emission in solution under UV light irradiation. Their optical and physicochemical properties were examined via UV-vis, TEM, FTIR spectroscopy, SEM, DSC, DTA, TGA, XRD, XPS, Raman spectroscopy, and zeta potential analyses. They showed a strong emission peak at 435 nm and excitation-dependent emission behavior with strong electronic transitions of C 
<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="13.200000pt" height="16.000000pt" viewBox="0 0 13.200000 16.000000" preserveAspectRatio="xMidYMid meet"><metadata>
Created by potrace 1.16, written by Peter Selinger 2001-2019
</metadata><g transform="translate(1.000000,15.000000) scale(0.017500,-0.017500)" fill="currentColor" stroke="none"><path d="M0 440 l0 -40 320 0 320 0 0 40 0 40 -320 0 -320 0 0 -40z M0 280 l0 -40 320 0 320 0 0 40 0 40 -320 0 -320 0 0 -40z"/></g></svg>
 C/CO bonds. The N-CDs exhibited high water dispersibility and great optical properties in response to some environmental conditions such as heating temperature, light irradiation, ionic strength, and storage time. They have an average size of 3.07 nm and good thermal stability. Owing to their great properties, they have been used as a fluorescent sensor for Congo red dye. The N-CDs selectively and sensitively detected Congo red dye with a detection limit of 0.035 μM. Moreover, the N-CDs were utilized to detect Congo red in tap and lake water samples. Thus, rambutan seed waste was successfully converted into N-CDs and these functional nanomaterials are promising for use in important applications.


Introduction
Carbon dots (CDs) are uorescent carbon-based nanomaterials that were discovered serendipitously during the purication of SWCNTs in 2004. 1 They are among the amazing materials in the nanocarbon family and are generally discrete and quasispherical with a size below 10 nm. CDs commonly produce typical excitation-dependent emission wavelengths and overcome the limitations of toxic heavy metal elements to form nanomaterials. 2 The CDs are excellent candidates and demonstrate encouraging performances in optoelectronics, sensors, uorescent inks, nano-catalysts, light-emitting diodes, medical diagnosis devices, drug delivery, and bioimaging due to their unique properties including strong chemical inertness, high anti-photobleaching, great optical characteristics, great chemical stability, excellent photostability, easy functionality, high solubility, low toxicity, high biocompatibility, strong uorescence properties, and eco-friendliness. [2][3][4][5] Although CDs have many advantages compared to noble metal nanoclusters, organic molecules, and semiconductor quantum dots, their chemical and optical characteristics still require enhancement by tuning the surface and core of their chemical structures. 6 For uorescence sensor applications, serious challenges remain for CDs, particularly regarding their lack of selectivity and sensitivity and their low uorescence quantum yields (QY). Doping heteroatoms such as nitrogen (N), sulfur (S), boron (B), and phosphorous (P), into carbon cores is an effectual means of modulating the intrinsic characteristics of CDs. This can adjust and control the electronic structure, optical, and chemical properties as well as surface chemical groups, thus developing their applications. 7 Heteroatomic doping is the general method for increasing the uorescence characteristics of CDs, resulting in a high uorescent QY of the CDs. 8,9 Among the various heteroatoms, the N dopant is ideal owing to its proportional atomic size to that of C and it has ve valence electrons to interact with C atoms simply. 10 The N atoms in CDs can supply many electrons and coat the CD surface, thus altering their electronic and optical properties. 11 The nitrogen atoms can extend the conjugated p-electrons in the carbon skeleton, improving the CDs' QY. 12 CDs without N-doping have a large HOMO-LUMO gap. N-Doping in CDs reduces the HOMO-LUMO gap so less energy is needed for excitation and the sensing ability is improved. 13 The few valence electrons of the N dopant encourage chelation with -COOH and -NH 2 groups present on the surface of CDs, which immediately interact with the functional ligands of the analyte via the typical interactions, and lower the HOMO-LUMO gap to improve the sensing performance of CDs. 14 N-Doped CDs (N-CDs) provide a simple and effective sensor for sensing specic molecules due to the NH 2 groups that can simplify and increase the interaction with the selective analyte. 2 Therefore, suitable control of the functional groups, structures, and compositions of CDs is required for developing their sensing applications. 15 Recently, the preparation of CDs via a sustainable chemistry approach has received considerable attention because it decreases both the time and cost, simplies labor, and produces high yields and eco-friendly materials. 16 Starting materials for the production of CDs are available, particularly from natural resources. The CDs derived from various starting materials exhibit distinct structures with certain applications. 17,18 The CDs have different functional groups on the surfaces with great surface area-to-volume ratios, which offer valuable benets for doping or functionalizing with other small molecules. 19 The CDs can be synthesized using various methods. Hydrothermal treatment is a facile, low-cost, and green method that produces CDs with a narrow size distribution. To date, a facile synthetic method and a green source for obtaining highly uorescent CDs are still highly desirable and there is still space to explore cheap and natural starting materials that act as carbon precursors. Green sources work as great candidates for producing uorescent CDs. Unlike semiconductor quantum dots or metal nanoparticles, CDs can easily be synthesized using a single-step reaction. 20,21 Natural resources are abundant in carbon, nitrogen, and oxygen in the form of carbohydrates and proteins. 5 The use of simply obtainable and highly abundant natural sources as starting materials is preferential for the preparation of CDs not only for practical massive production but also for sustainable chemistry purposes.
Several specic advantages of using synthetic dyes over natural dyes include their excellent stability in oxygen, light, and pH, which claries the existing trend for the use of synthetic dyes instead of natural dyes. 22 However, their excessive utilization in foods and textiles may cause harmful health effects on several organs and health systems, such as allergic reactions, migraines, eczema, anxiety, oxidative stress, DNA damage, liver problems, hepatotoxicity, kidney function disease, abnormal lipid proles, and brain tissue injury. 23 A very small amount of dye in water is highly visible, and discharging even a small amount of dye into the water can cause serious harmful effects on aquatic organisms and food webs due to the carcinogenic and mutagenic effects of synthetic dyes. 24 Congo red is the rst synthetic dye produced that is capable of dying cotton directly and belongs to the class of protein-binding dyes. 25 Congo red is an anionic diazo dye prepared by coupling tetrazotised benzidine and two molecules of naphthionic acid. Congo red causes an allergic reaction and is metabolized to benzidine, a human carcinogen. 26 It is unsafe, toxic, and can cause anaphylactic shock and cancer. Congo red is oen used in textile, printing and dyeing, paper, leather, food, cosmetics, rubber, and plastics industries. 27 The Congo red staining process requires a lot of water and so water pollution occurs. 28 Due to its complex aromatic structure with high stability, it is resistant to biodegradation and photodegradation. 29 The environment and human health are thus subjected to various hazards and major risks and, therefore, the levels of color added to products must be accurately quantied. As such, it is urgent and essential to develop and establish a simple, cost-effective, rapid, efficient, and sensitive analytical method to determine Congo red to protect human and environmental health. 30 Recently, numerous efforts have been devoted to developing green synthetic strategies for the production of CDs by exploring various natural resources as starting materials such as milk, 31 potato starch, 32 cabbage, 33 soybeans, 34 orange juice, 35 banana juice, 36 and watermelon peel. 37 The present work demonstrates, for the rst time, the low-cost, facile, and ecofriendly preparation of N-CDs from rambutan seed waste as the carbon source and L-aspartic acid (Asp) as the nitrogen source through the hydrothermal method. The rambutan seeds were collected aer being discarded by people aer eating the fruit esh. This rambutan seed powder contains many ingredients that can be converted to CDs, especially carbohydrate content. Amino acids are veried as a good nitrogen source for the synthesis of highly uorescent N-CDs. 38 Asp is one of the non-essential amino acids that can improve the uorescence properties of N-CDs. The synthesized N-CDs through the optimization of the synthesis conditions showed strong uorescence properties with a high QY. The stability, optical, and physicochemical properties of the N-CDs were explored in detail. The N-CDs could be utilized as a uorescent sensor for Congo red. The schematic representation of the synthesis, optical properties, and applications of N-CDs is illustrated in Fig. 1.

Synthesis of N-CDs
A hydrothermal treatment was used to synthesize N-CDs. In brief, 1.0 g of rambutan seed powder and 0.5 M Asp (10.53% N) dispersed in 30 mL pure water were placed in a Teon-autoclave and hydrothermally reacted for 20 h at 200°C. Aer the reaction, the solution was allowed to cool at room temperature to reduce the temperature of the solution. The successful conversion of seed powder and Asp to N-CDs was claried by changing their colors to dark brown. To lter the solution and remove the large particles, Whatman lter paper No. 42 was used and centrifugation at 9000 rpm for 30 min was performed, followed by ltration using a 0.22 mm Nylon syringe lter membrane. Subsequently, the N-CDs solution was dialyzed overnight via a dialysis bag (1000 MWCO) against pure water and the water was changed every 6 h to eliminate the small molecules. The N-CDs were kept in a dark bottle at 4°C for this study.

Calculation of the uorescence QY
The uorescence QY of the N-CDs was calculated according to a common formula. 39 Typically, quinine sulfate was diluted in 0.1 M sulfuric acid as a standard with a QY of 54% and a refractive index (h) of 1.33. N-CDs were diluted in pure water (h = 1.33). The absorbance value (A) was kept at 0.05 at 350 nm and the uorescence spectrum was obtained on excitation at 350 nm. The integrated uorescence intensity (I) and A value of N-CDs were compared to quinine sulfate solution, and the QY was calculated by the formula QY c = QY q × (A q /A c ) × (I c /I q ) × (h c 2 /h q 2 ), where c = CDs, and q = quinine sulfate.

Characterization methods of N-CDs
Highly uorescent N-CDs were identied as the best candidates for the sensor. The optical characteristics of the N-CDs were measured and analyzed. The UV-vis spectra were recorded using an Agilent 8453 UV-vis spectrometer and a quartz cuvette of 10 mm path length and 3 mL volume. The uorescence spectra were obtained using an Agilent Cary Eclipse Fluorescence Spectrophotometer. Various excitation wavelengths were used to determine the highest emission intensity of N-CDs. The N-CDs with a high uorescence emission intensity were applied as a sensor. All measurements were repeated three times. The TEM images were taken from a Hitachi HT-7700 microscope at an acceleration voltage of 200 kV for observing the particle size distribution and morphology of N-CDs. Raman spectra of N-CDs were obtained using a MicroRaman Spectrometer (Pro-TrusTech Co. Ltd, Taiwan) at 532 nm laser excitation. The surface functional groups of the N-CDs were examined by an ALPHA FTIR spectrophotometer from Bruker. Zeta potential values were obtained using an ELSZ-2000 Zeta Potential & Particle Size Analyzer. The emission color was observed under UV-light at 365/400 nm. Other instruments were used for material characterization including SEM, DSC, TGA, DTA, and XRD.

Fluorescence stability of N-CDs
The ionic strength effect was evaluated by mixing several NaCl concentrations (0-1000 mM) into the N-CDs solution. The effects of light radiation with increasing radiation times from 0 to 60 min, storage times from 1 to 30 days, and heating temperatures from 25 to 100°C on the N-CDs solution were also evaluated. Finally, the impact of pH values from pH 2 to pH 10 on the uorescence intensity of N-CDs was examined and 0.1 mM HCl and NaOH solutions were used to adjust the pH values. For all experiments, the uorescence spectra of N-CDs were measured at 350 nm excitation wavelength for comparison.

Fluorescence sensing of Congo red dye
The interaction between N-CDs and Congo red was investigated at room temperature. For the selective study, N-CDs solution (50-fold, 500 mL) and each dye (500 mL) with a nal concentration of 25 mM were mixed in an Eppendorf tube with 3 min of interaction time before uorescence measurements. Besides, some heavy metal ions at 500 mL were added to the N-CDs solution to observe their effects on the uorescence intensity of N-CDs. For the sensitive study, the nal concentration of the 500 mL Congo red solution of 1-100 mM was added to the N-CDs solution (50-fold, 500 mL). The uorescence spectra of the N-DS-CDs/Congo red system were obtained on excitation at 350 nm.

Fluorescence sensing of Congo red in real water samples
The application of N-CDs as a uorescent sensor toward Congo red in real water samples was also examined. The tap and lake water samples were employed without and with ltration/ purication, respectively. The samples were added with the standard Congo red solution to the N-CDs solution to nal concentrations of 1, 5, and 10 mM. The uorescence spectra of the systems were recorded and the formula below was used to obtain the recovery percentages: "R" is the % recovery, "C a " is the added Congo red level, "C b " is the real Congo red level without the addition of the standard Congo red, and "C c " is the found Congo red level aer the addition of standard Congo red. 40

Results and discussion
Optical properties of N-CDs The uorescence and UV-vis spectra of the synthesized CDs were recorded to observe their optical characteristics. The uorescence spectra of N-CDs excited with various wavelengths are depicted in Fig. 2a, exhibiting unique excitation-based emission behavior. The uorescence emission peak centers were red-shied on increasing the excitation wavelength from 300 to 450 nm. As shown in Fig. 2a, the uorescence emission intensity of N-CDs was gradually enhanced by changing the excitation wavelength from 310 to 350 nm, and subsequently, it gradually decreased with increasing the excitation wavelength to 450 nm. These ndings indicate that the uorescence emission peak centers were red-shied by altering the excitation wavelength, except for N-CDs with low excitation wavelength (310-330 nm: no red-shi was observed) (Fig. 2b). The optimum excitation and emission spectra of N-CDs are shown in Fig. 2c.
The maximum uorescence intensity of N-CDs was centered at 435 nm (green line) excited at 350 nm (red line). The comparison of the uorescence spectra of N-CDs and their bare CDs showed an enhancement in the uorescence emission intensity (Fig. 2d) due to the successful doping of Asp as a nitrogen source for the bare CDs. The uorescence emission intensity is dependent on the character of the surfaces and most particles of CDs are excited at a specic excitation wavelength. The uorescence intensities of N-CDs with various dilution factors are shown in Fig. 3a. The uorescence emission center was slightly red-shied by increasing the dilution factor of the N-CDs solution from 17-fold to 100-fold. The highly concentrated N-CDs (17-fold) were separated into monodispersed N-CDs by increasing the amount of pure water to obtain a 50fold diluted N-CDs solution. The highest uorescence intensity was observed for the N-CDs with 50-fold dilution when excited at 350 nm. The variation in the emission was attributed to the combination of van der Waals forces to create nanoclusters at a high concentration of N-CDs, leading to increased polarity on the surface of highly concentrated N-CDs. 41 A high polarity nanocluster might cause various emission behaviors. 42 Aer adding more water to increase the dilution beyond the 50-fold N-CDs solution, the emission intensity was reduced due to the excess amount of water in the N-CDs solution. Therefore, the control of the N-CDs levels/dilution factor in solution is valuable for adjusting the emission peak with the highest intensity.
The UV-vis spectra of the N-CDs showed a wide absorption band with a shoulder from 200 to 500 nm (Fig. 3b) and an intense absorption peak at ∼280 nm due to the conjugated C]C bonds with the p-p* energy transition. A shoulder between 300 nm and 500 nm was also observed. This shoulder peak comes from C]O bonds with n-p* energy transition. 16 Additionally, the uorescence QY of the N-CDs was 16.87%. The FL QY of N-CDs increased from 10.24% without N-doping. These results indicate that the synthesized N-CDs had typical optical characteristics.

Physicochemical properties of N-CDs
The N-CDs formed stable systems in pure water due to their highly hydrophilic nature. To determine their surface charge, the zeta potential was measured and found to be −6.36 mV (Fig. 4a). This value was the center of the broad peak ranging from −20 mV to +10 mV, which was stable. The nanoparticles with zeta potential values from −10 to +10 mV tend to be neutral. The zeta potential value is highly sensitive to the alterations that occur upon dilution, including various pH values and ionic strength levels. 43 At a pH above 7 (basic condition), the zeta potential is usually very negative,  representing stable anions. When the pH is below 7 (acidic condition), the zeta potential value is usually less negative until zero; 43 aerwards, the zeta potential value becomes more positive in strongly acidic conditions, which represents the positively charged surroundings of the N-CDs. The surface charge is responsible for the simple dispersion and great stability of the CDs system. The CDs system was easily dispersed in pure water and remained stable without precipitation for as long as 30 days at room temperature. DSC analysis was performed to determine whether energy is released or absorbed by N-CDs when treated at high temperatures where the endothermic (heat absorption) and exothermic (heat evolution) processes coupled with the thermal degradation of the obtained N-CDs can occur. DSC was recorded at room temperature up to 500°C using simultaneous thermal analysis. The DSC curve of anhydrous N-CDs in Fig. 4b shows two endothermic peaks at 100°C and 300°C and the complete thermal degradation of the sample occurred simultaneously. The anhydrous N-CDs were monitored to determine the heat absorption phenomenon during the thermal degradation process.
TGA measures the amount and rate of change of the material weight (weight loss) with increasing temperature under controlled conditions. The weight loss at different temperatures determines the composition as well as the thermal stability of the sample. TGA analysis showed that the N-CDs slightly decreased in stability until 300°C and lost weight at a later temperature (Fig. 5a). This may be due to the degradation of the chemical components found on the N-CDs' surface. At 600°C, N-CDs lost ∼65.38% in weight. The DTA thermogram showed the temperature differences in the sample, where the DTA signal is dened as a function of temperature. The exothermic peak of N-CDs has maximum temperatures of 100°C and 350°C (Fig. 5b). Another exothermic process was observed at 425°C aer the temperature increased to 600°C where the thermogram increased. The thermogram did not increase aer raising the temperature to 600°C.
Raman spectroscopy with laser excitation at 532 nm was also utilized to characterize the intrinsic structure of the N-CDs. The Raman spectrum of N-CDs in the region of 800-2500 cm −1 is included in Fig. 6a. The Raman spectra were tilted up because of the intense background signal induced by the strong uorescence properties of N-CDs. The peaks positioned at ca.   G bands of carbon nanomaterials, respectively. The D-band reects the disorder or defects of sp 3 carbon atoms, while the G band indicates sp 2 carbon networks with in-plane vibrations on the surface structure of N-CDs. 44 It was observed that N-CDs have an I D /I G ratio of ca. 1.34. The N-CDs showed a wider D band, indicating that the intercalation of N atoms into the conjugated carbon backbone caused disordered structures. 45 These ndings suggest that the graphitic structure of N-CDs was destroyed during the doping of nitrogen elements in the presence of a larger fraction of defects. The typical XRD pattern of the prepared N-CDs is shown in Fig. 6b. A broad peak from 10°t o 20°centered at 2q = 17°was observed. The presence of the broad peak followed by a weak peak indicated the amorphous form of the N-CDs. The diffraction peak centered at 2q = 44°w as assigned to the diffraction pattern 101 of graphite carbon. It is worth mentioning that the shape attests to the existence of a micrographic structure in the N-CDs. 46 The surface functional groups of CDs and N-CDs were investigated by FTIR spectroscopy (Fig. 7a and b). The FTIR spectrum of the CDs showed the presence of O-H and C-H at 3177 cm −1 and 2951 cm −1 while the N-CDs' spectrum showed peaks at 3256 cm −1 and 2963 cm −1 , respectively. 47,48 From Fig. 7b, the band at 2770 cm −1 was correlated to C-H stretching vibrations. 49 The stretching vibrations of N-H at 3456 cm −1 were monitored in the high regions from N-CDs. The bands at 1699 cm −1 and 1599 cm −1 were associated with the C]O and C]C stretching of CDs while bands at 1711 cm −1 were associated with the C]O/C]C stretching of N-CDs. 50 The -COOH groups were observed at 1431 and 1387 cm −1 for CDs and N-CDs, respectively. 51 The peak at 1387 cm −1 also corresponds to C-N bending vibrations. The peak at 1288 cm −1 corresponds to O-H groups from CDs. The peak at 1190 cm −1 corresponds to C-O-C/C-N stretching vibrations. 52 Other peaks at 642 cm −1 and 914/775 cm −1 were identied as C-H stretching vibrations and O-H stretching/NH 2 wagging vibrations from N-CDs. The bands at 879 cm −1 and 557 cm −1 were associated with O-H stretching and C-H bending vibrations from CDs. These ndings indicate that N-CDs have amino, hydroxyl, carbonyl, and carboxylic groups originating from organic moieties in rambutan seed powder and Asp aer hydrothermal treatment. These functional groups endowed the N-CDs with good water solubility, without aggregation or loss of uorescence properties aer one month.
The morphological evaluation of the N-CDs was accomplished by TEM and SEM. The images of N-CDs were used to characterize their structure, size, and shape. The TEM image with scale bars of 50 nm exhibited that N-CDs were monodisperse and spherical over all with uniform distribution in the range of 1.52-4.61 nm as represented in the histogram in the inset in Fig. 8a. The average size of N-CDs was calculated to be 3.07 nm. Fig. 8b shows the SEM morphology of the N-CDs. The surface of N-CDs was successfully doped by nitrogen element in Asp. The N-CDs showed many nitrogen dopants on their surface.

Fluorescence stability of N-CDs
The evaluation of the stability of the N-CDs solution based on their uorescence characteristics under numerous Fig. 7 The FTIR spectra of (a) CDs and (b) N-CDs. environmental conditions was carried out since the environmental states can affect the performance of N-CDs. The thermal stability of N-CDs was evaluated by heating them at 25-90°C. The temperature range from room temperature to near the boiling point of water was selected, where much water can be removed from N-CDs solution between 90°C and 100°C. Therefore, 90°C was selected as a high temperature. There was a small effect on the uorescence emission intensity aer heating at a high temperature (90°C) (Fig. 9a). Aer heating, the uorescence emission intensity was slightly reduced, indicating that the heating did not permanently destroy the structure or surface functional groups of N-CDs. The functional groups containing oxygen or nitrogen atoms could avoid particle aggregation at an elevated temperature, preserving the stability of N-CDs. 53 Furthermore, the uorescence intensity of the N-CDs solution was monitored aer irradiating with LED light and UV light (Fig. 9b). The uorescence emission intensity of N-CDs aer irradiating under LED light remained constant without perturbation even aer irradiating for 1 h. Meanwhile, the uorescence emission intensity of N-CDs was reduced by about 7% aer being irradiated under UV light for 1 h. Hence, to maintain the uorescence properties of N-CDs, the N-CDs solution must be stored in dark bottles and exposure to UVlight must be avoided. The inuence of the ionic concentration from salt on the uorescence characteristics of N-CDs was evaluated by mixing with different concentrations of NaCl solution to ensure their solution stability (Fig. 9c). The uorescence emission intensity exhibited a neglectable reduction with the addition of a salt solution containing ions at 1000 mM. This event indicated that the N-CDs were still stable even at an elevated ionic level. The stability of N-CDs at a high ionic level led to the assumption that no ionization of the surface functional groups occurred. 54 The electrostatic interaction showed a low disturbance of the uorescence properties of N-CDs. All results indicated that the N-CDs have overall high stability of their uorescence properties. The shelf-life of N-CDs was also investigated by keeping the N-CDs solution at room temperature. There were no signicant perturbations observed in the emission intensity aer storing for 30 days, indicating their longer shelf-life and great water stability (Fig. 9d). The N-CDs solution exhibited a homogeneous state over a long time without precipitation.
The uorescence emission intensities of N-CDs solutions with varied pH values from 2 to 10 were recorded to examine the effects (Fig. 10a). The uorescence emission intensity of N-CDs increased on adjusting the pH from 2 to 4. Subsequently, the uorescence emission intensity was slightly reduced but insig-nicant from pH 5 to 7, indicating that the N-CDs solution was more stable in weakly acidic and neutral conditions. The uorescence emission intensity of N-CDs was reduced from a pH of 8 to 10. The maximum uorescence emission intensity of the N-CDs solution was observed at pH 4. The perturbation in the uorescence emission intensity can be correlated to the protonation or deprotonation activities associated with different functional groups on the N-CDs surface. 55 The bright blue color of the solutions under UV-light irradiation was observed for all samples at different pH values (Fig. 10b). This result was correlated with the maintained uorescence properties of the N-CDs solution at these pH values. The pH values inuenced the uorescence properties but without effects that were too signicant.

Fluorescence sensing of Congo red
To study the selectivity of this method, the variations in the uorescence intensity in the presence of different dyes at 25 mM were observed under the same conditions as used for the Congo red. The histogram shows the plot of F/F 0 versus the identical  amounts of dyes (Fig. 11a). F and F 0 are the uorescence intensities of N-CDs with and without the analytes. The uorescence of N-CDs was not signicantly reduced by the dyes, except for Congo red. Hence, the N-CDs are forthcoming materials for sensing Congo red as compared to other synthetic dyes. Furthermore, to study the selectivity of this sensor, it is important to examine the uorescence perturbation of N-CDs by different metal ions. The sensing potential was assessed by observing the initial uorescence emission intensity of N-CDs for notable variations while adding different representative metal ions. The uorescence emission spectra of N-CDs solutions mixed with various metal ions (500 mM) were recorded and the alterations in the uorescence emission intensity at 435 nm were monitored. These metal ions induced various effects on the uorescence spectra of N-CDs. Fig. 11b shows the selectivity plot of N-CDs with metal ions. The plot of the histogram exhibited F/F 0 versus the identical levels of metal ions. Several heavy metal ions (Cu 2+ , Fe 2+ , and Hg 2+ ) can reduce the uorescence intensity of N-CDs, but not so signicantly. Therefore, the N-CDs were not suitable for the selective detection of the representative metal ions.
Congo red is one of the most highly utilized dyes for textile colorants. Its excessive content in textile products may result in health problems in the human body due to its carcinogenic effects because of the presence of aromatic amine groups; therefore, its detection is important. For this purpose, a highly sensitive and simple analytical method based on the uorescence quenching efficiency using N-CDs as the sensing material was adopted. Various concentrations of dye were mixed into the system to monitor the changes in uorescence intensity. The uorescence quenching efficiency of N-CDs in the presence of different concentrations of dye (0-100 mM) was investigated and the uorescence spectra are presented in Fig. 12a. The uorescence intensities of N-CDs decreased with the increasing dye concentration. A linear relationship was observed for the Congo red concentrations in the range of 0.5-10 mM in the standard curve of the plot of the relational change in the uorescence intensity (F/F 0 ) and Congo red concentrations (Fig. 12b). The plot exhibited a good linear relationship with a correlation coefficient (R 2 ) of 0.99739 and the LOD was calculated to be 0.035 mM. Table 1 presents a comparison of the experimental results of several methods with this sensor for the detection of Congo red. Until now, very few studies have focused on the detection of the Congo red dye. This sensor can serve as an alternative method for the sensing of the Congo red dye since the N-CDs can provide an economical, simple, rapid, and sensitive method as compared to other methods.

Sensing of Congo red in real water samples
To explore the feasibility and signicance of applicability in real water samples, this uorescence sensor was employed to detect Congo red in lake and tap water samples. No Congo red was observed in the water samples on monitoring the uorescence emission spectra. Therefore, the standard addition technique was adopted. Various amounts of Congo red were spiked into the lake and tap water samples and added to the N-CDs solution, and then the proposed uorescence responses were recorded. This was performed three times for each sample. The  average analysis is shown with the relative standard deviations (RSDs). The uorescence intensity of the N-CDs was quenched by different concentrations of Congo red standard solution, as shown in Table 2. The recovery percentages ranged between 99.38 and 100.80% for tap water and between 98.40 and 102.15% for lake water samples. The RSDs with low percentages ranged from 0.51 to 1.60% for all water samples, proving that this sensor has good precision and accuracy for sensing Congo red in environmental water samples.

Possible sensing mechanisms of Congo red
The quenching of the uorescence emission intensity of N-CDs was evident with the increase in the Congo red concentration.
To elucidate the possible sensing mechanisms, the uorescence spectra of N-CDs and UV-vis absorbance of Congo red were obtained and analyzed. The specic selectivity of N-CDs for Congo red could be claried by the overlap between the excitation and/or emission spectra of N-CDs (donor) and the absorbance of Congo red (acceptor). The uorescence emission quenching is probably related to the inner lter effect (IFE). IFE can occur commonly when the absorbance of the quencher overlaps with the excitation and/or emission spectra of the sample. The N-CDs exhibited excitation and emission spectra in the wavelength range of 310-450 nm and 420-507 nm, respectively ( Fig. 2a and b). The excitation (purple line) and emission (orange line) wavelengths reached the maximum values of 350 and 435 nm, respectively (Fig. 13). Congo red showed two broad absorption peaks between 275 nm and 600 nm, and the maximum absorption peaks were centered at 345 nm and 500 nm (Fig. 13, black line). The absorption peaks of Congo red almost completely overlapped with the excitation and emission spectra of N-CDs, suggesting that the sensing mechanism is related to the IFE. 59 Generally, the uorescence intensities must be corrected if the IFE exists. Thus, the quenching of the emission intensity of N-CDs might be due to the IFE. Meanwhile, the quenching of uorescence intensity caused by the IFE is temperature independent. As shown in Fig. 9a, there was no temperature effect on the uorescence emission intensity, denoting that the uorescence emission quenching is coming from the IFE. 60 The presence of abundant -OH, -COOH, and -NH 2 groups on the N-CDs can play a decisive role in the occurrence of intermolecular interactions such as hydrogen bonding and electrostatic interactions with Congo red and consequently result in emission intensity quenching. 61,62 The electrostatic interactions between functional groups of N-CDs and Congo red allow for hydrogen bonding, which leads to the formation of a non-uorescence ground state complex. 63 The hydrogen bonding could occur between -N]Ngroups of Congo red and -OH groups of N-CDs, and between NH 2 groups of both samples. The electron transfer from N-CDs to Congo red led to the uorescence quenching of the N-CDs. The electron-decient Congo red caused the uorescence quenching of N-CDs, indicating that the photoinduced electron transfer (PET) is also the quenching mechanism for the detection. 64 In addition, the uorescence quenching may be associated with the effectual interaction of p-p stacking between N-CDs and Congo red. The hydrogen bonding between N-CDs and Congo red can strengthen the p-p stacking between the framework of N-CDs with the benzene ring of Congo red. 65 p-p stacking interactions occur with the electron transfer from the N-CDs framework to the benzene ring of Congo red. Congo red as the electron acceptor has the propensity to combine with p-donor   points on the framework of N-CDs. 66 The strong p-p stacking interaction is a driving force that brings N-CDs and Congo red close to each other, resulting in easy electron transfer between them. 67 The stronger the p-p stacking interaction, the more effective the PET process between N-CDs and Congo red. Hence, hydrogen bonding, electrostatic interactions, and p-p stacking interactions easily induced intermolecular electron transfer and resulted in the valuable quenching of the uorescence emission intensity of N-CDs in the presence of Congo red. The schematic illustration of N-CDs for the sensing of Congo red with their sensing mechanisms can be viewed in Fig. 14. Therefore, N-CDs revealed high sensitivity and selectivity for Congo red, which is associated with the IFE and PET mechanisms.

Conclusions
The successful conversion of rambutan seed waste into N-CDs via carbonization in a simple hydrothermal method has been demonstrated. Rambutan seeds can serve as a carbon source to produce green CDs. Asp was used as a nitrogen dopant to increase the uorescence properties of CDs. The N-CDs exhibited great optical properties and good stability under various environmental conditions. The N-CDs were quasispherical with an average size of 3.07 nm. The uorescence QY of N-CDs was 16.87%. The uorescence characteristics of the N-CDs were successfully utilized to sense the Congo red dye via the uorescence quenching mechanism. A fast, selective, and sensitive method for the sensing of Congo red was carried out with an LOD as low as 0.035 mM. Overall, the current study has presented the conversion of a biomass waste resource into a functional nanomaterial and it was successfully utilized for sensing applications.

Conflicts of interest
There are no conicts to declare.